package com.lantu.vo.member;

import com.lantu.core.entity.Member;
import com.lantu.utils.BeanUtils;
import lombok.Data;

@Data
public class MemberVO {
    private String id;

    private String username;

    private String password;

    private String email;

    private String phone;

    private Integer status;

    private String avatar;


    public static MemberVO newInstance(Member member) {
        return BeanUtils.toBean(member, MemberVO.class);
    }
}
